import request from '@/utils/request'

// 查询补充查看列表
export function listAdditional(query) {
  return request({
    url: '/teacher/additional/list',
    method: 'get',
    params: query
  })
}

// 查询补充查看详细
export function getAdditional(recordid) {
  return request({
    url: '/teacher/additional/' + recordid,
    method: 'get'
  })
}

// 新增补充查看
export function addAdditional(data) {
  return request({
    url: '/teacher/additional',
    method: 'post',
    data: data
  })
}

// 修改补充查看
export function updateAdditional(data) {
  return request({
    url: '/teacher/additional',
    method: 'put',
    data: data
  })
}

// 删除补充查看
export function delAdditional(recordid) {
  return request({
    url: '/teacher/additional/' + recordid,
    method: 'delete'
  })
}

// 导出补充查看
export function exportAdditional(query) {
  return request({
    url: '/teacher/additional/export',
    method: 'get',
    params: query
  })
}